package org.deadline.service.user;

import java.util.List;
import org.deadline.model.user.Permission;

public interface PermissionService {

	public abstract long countAllPermissions();


	public abstract void deletePermission(Permission permission);


	public abstract Permission findPermission(Long id);


	public abstract List<Permission> findAllPermissions();


	public abstract List<Permission> findPermissionEntries(int firstResult, int maxResults);


	public abstract void savePermission(Permission permission);


	public abstract Permission updatePermission(Permission permission);

}
